<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>五彩导航</title>
    <style>
        .nav a{
            display: inline-block;
            width: 100px;
            height: 58px;
            background-color: rgb(146, 160, 240);
            text-align: center;
            line-height: 58px;
            color: rgb(247, 171, 83);
            text-decoration: none;
        }
        .nav .bg1{
            background: url();
        }
        .nav .bg1 :hover{
            background-image: url();
        }
        
        .nav .bg2{
            background: url();
        }
        .nav .bg2 :hover{
            background-image: url();
        }
    </style>
</head>
<body>
    <div class="nav">
        <a href="#" class="bg1">五彩导航</a>
        <a href="#" class="bg2">五彩导航</a>
        <a href="#">五彩导航</a>
        <a href="#">五彩导航</a>
        <a href="#">五彩导航</a>
    </div>
</body>
</html>